#!/bin/bash

echo $(tput bold)$(tput setaf 4)
echo "-------------------------------------------------------------------------"
echo "RUNNING TASK: ENABLING ALL REQUIRED MODULES & FEATURES.";
echo "-------------------------------------------------------------------------"$(tput sgr0)

source includes/drush_path

MODULES=(
  # Enable all contrib modules.
  ctools
  date
  date_popup
  features
  field_group
  imagecache_actions
  imce
  imce_wysiwyg
  pathauto
  references
  revisioning
  tagadelic
  taxonomy_csv
  token
  views
  wysiwyg

  # Enable all custom modules.
  addon_blocks
  addon_formatters
  addon_gmapa

  # Enable all Features.
  entity_info
  image_styles_info
  rounded_corners_image_effect
  views_info
)

for MODULE in ${MODULES[@]}
do
$DRUSH_PATH en $MODULE -y
done
